<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<s:include value="/WEB-INF/content/common/header.jsp" />

<div class="row well">
	<h4>Edit SME Details</h4>



<s:form action="updateSme" role="form" id="viewForm" cssClass="form-horizontal col-sm-6" namespace="/customer"
	enctype="multipart/form-data" theme="bootstrap">
	
	<s:hidden name="sme.id"/>

	<s:textfield label="Name" name="sme.name" value="%{sme.name}" />
	
	<s:textarea label="Address" rows="2" name="sme.address" value="%{sme.address}" />
	
	<s:textfield label="Telephone" name="sme.telephone" value="%{sme.telephone}"/>
	
	<s:textfield label="Email" name="sme.email" value="%{sme.email}" />
	
	<s:textfield label="Fax" name="sme.fax" value="%{sme.fax}"/>
	
	<s:select label="SME Type" value="%{sme.type}"  name="sme.type" list="#{'government':'Government','semi-government':'Semi Government', 'private':'Private'}"/>

	<sj:submit value="Save" class="btn btn-primary btn-sm" targets="targetDiv"/>
	<s:reset value="Cancel" class="btn btn-primary btn-sm" />


</s:form>


</div>




<s:include value="/WEB-INF/content/common/footer.jsp" />